<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:decorate template="/resources/template/modelo.xhtml">
        <ui:define name="centro">

           <h:form>
                A palvra chave abaixo será apagada:
                <h:panelGrid columns="2">

                    <h:outputText value="Id:" />
                    <h:outputText value="#{temaBean.tema.id}"></h:outputText>
                    <h:outputText value="Tema:" />
                    <h:outputText value="#{temaBean.tema.tema}"></h:outputText>
                    <h:commandButton action="#{temaBean.removerTema}" actionListener="#{temaBean.carregarTemas()}" value="Confirmar Remoção"  />
                    <h:commandButton action="/index" value="Cancelar" />
                </h:panelGrid>  
            </h:form>    


        </ui:define>
    </ui:decorate>
</html>